package com.ccp.dev.im.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.im.model.ImRoom;
import org.apache.ibatis.annotations.Mapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import java.util.List;
import java.util.Set;

/**
 * 群 信息数据库操作类
 *
 * @author y
 * @date 2020-02-17 11:39:36
 */
@Mapper
public interface ImRoomDao extends IBaseMapper<ImRoom,String> {

    List<ImRoom> queryAll(QueryFilter queryFilter);

    /**
     * 查询当前用户拥有的群ID集合
     * @param currentUserId 当前用户ID
     */
    Set<String> queryCurrentOwnGroupId(String currentUserId);


}
